<?php

$TCA['referency'] = array(
	'ctrl' => $TCA['referency']['ctrl'],
	'interface' => array(
		'showRecordFieldList' => 'pid,hidden,title,text'
	),
	'types' => array(
		'1' => array('showitem' => 'pid,hidden,title,text;;;richtext[paste|bold|italic|underline|formatblock|class|left|center|right|orderedlist|unorderedlist|outdent|indent|link|image]:rte_transform[mode=ts]')
	),
	'palettes' => array(
		'1' => array('showitem' => '')
	),
	'columns' => array(
		'hidden' => array(
			'exclude' => 0,
			'label'   => 'LLL:EXT:reality/Resources/Private/Language/locallang_db_referency.xml:referency.hidden',
			'config'  => array(
				'type' => 'check',
			),
		),
		'title' => array(
			'exclude' => 0,
			'label'   => 'LLL:EXT:reality/Resources/Private/Language/locallang_db_referency.xml:referency.title',
			'config'  => array(
				'type' => 'input',
				'size' => 128,
				'eval' => 'trim,required',
			),
		),
		'text' => array(
			'exclude' => 0,
			'label'   => 'LLL:EXT:reality/Resources/Private/Language/locallang_db_referency.xml:referency.text',
			'config'  => array(
				'type' => 'text',
				'cols' => '30',
				'rows' => '5',
				'wizards' => Array(
					'_PADDING' => 2,
					'RTE' => array(
						'notNewRecords' => 1,
						'RTEonly' => 1,
						'type' => 'script',
						'title' => 'Full screen Rich Text Editing|Formatteret redigering i hele vinduet',
						'icon' => 'wizard_rte2.gif',
						'script' => 'wizard_rte.php',
					),
				),
			)
		),
	),
);

?>